package BusLib;

import java.util.ArrayList;

public class Map {
    private String name_;
    private Coordinates topLeft_;
    private Coordinates bottomRight_;
    private int levels_;
    private ArrayList<Tile> tiles_;

    public Map() {}

    public Map(String name, Coordinates tl, Coordinates br, int levels) {
        name_ = name;
        topLeft_ = tl;
        bottomRight_ = br;
        levels_ = levels;
        tiles_ = new ArrayList<Tile>();
    }

    public String Name() {
        return name_;
    }

    public void SetName(String name_) {
        this.name_ = name_;
    }

    public Coordinates TopLeft() {
        return topLeft_;
    }

    public void SetTopLeft(Coordinates topLeft_) {
        this.topLeft_ = topLeft_;
    }

    public Coordinates BottomRight() {
        return bottomRight_;
    }

    public void SetBottomRight(Coordinates bottomRight_) {
        this.bottomRight_ = bottomRight_;
    }

    public int Levels() {
        return levels_;
    }

    public void SetLevels(int levels_) {
        this.levels_ = levels_;
    }

    public ArrayList<Tile> Tiles() {
        return tiles_;
    }
}
